
import React, { Component } from 'react';

import { base } from 'nc-lightapp-mobile';
import { Button as B } from 'antd-mobile';

const { ButtonWrapper } = base;


const Button = ButtonWrapper(B);

class Basic extends Component {
	render() {
		return (
			<div className="demo-button-basic">
				<Button>主要按钮</Button>
				<Button disabled={true}>主要按钮禁用</Button>
				<Button loading={true}>主要按钮加载</Button>
				<Button type="secondary">次要按钮</Button>
				<Button type="secondary" disabled={true}>
					次要按钮禁用
				</Button>
				<Button type="secondary" loading={true}>
					次要按钮加载
				</Button>
			</div>
		);
	}
}
export default Basic;
